<?php
/* @var $this CmpDepositController */
/* @var $model CmpDeposit */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'客户服务'=>array($this->pre_module_url.'/cmpServices/admin'),
	'退款管理'=>array($this->pre_module_url.'/refund/admin'),
);

?>


<div class="pro_filter c_f">
	<div class="filter f_l">
		<?php	$form = $this->beginWidget ( 'CActiveForm', array (
				'action' => Yii::app ()->createUrl ( $this->route ),
				'method' => 'get' 
		) );
		?>
			<span>投诉时间：
				<?php echo $form->dropDownList($model,'limit_time',MemReport::model()->getLimitTime(),array('class'=>'s_ipt w_120 mr20')); ?>
			</span> 
			<span>处理状态：
				<?php echo $form->dropDownList($model,'zmr_status',MemReport::model()->getZmrStatus(),array('class'=>'s_ipt w_120 mr20')); ?>
			</span>
			<span>订单编号：
				<?php echo $form->textField($model,'zo_id',array('class'=>'i_ipt w_170 mr20')); ?>
			</span>
			<?php echo CHtml::submitButton(Yii::t('cmp','Search'),array('class'=>'mem_bgx mem_btn01')); ?>
		<?php $this->endWidget(); ?>
	</div>
</div>

<table class="list_table list_table2" cellpadding="0" cellspacing="0" width="100%">
	<thead>
		<tr>
			<th width="17%" class="tl num">投诉编号</th>
			<th width="16%" class="tl">订单编号</th>
			<th width="13%">投诉方</th>
			<th width="16%">投诉原因</th>
			<th width="12%">投诉状态</th>
			<th width="16%">申请时间</th>
			<th width="8%">操作</th>
		</tr>
	</thead>
</table>

<?php

$this->widget ( 'zii.widgets.CListView', array (
		'dataProvider' => $model->Search (),
		'itemView' => '_view',
		'selectAll'=>array('ids[]','id[]'),
		'itemsTagName'=>'table',
		'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
		'artLink'=>array(
				//批量删除
				array(Yii::t('adm','Delete All'),$this->pre_module_url.'/complain/delete','确认批量删除所选中的信息！'),
		),
) );
?>

